#define  _CRT_SECURE_NO_WARNINGS 1
#include "SLstack.h"

test1() {
	ST st;
	StackInit(&st);
	StackPush(&st,1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	printf("%d\n",StackSize(&st));
	
	StackPop(&st);
	printf("%d\n", StackSize(&st));
	STDatatype a = StackTop(&st);
	printf("%d\n", a);
	//StackDestroy(&st); 
}

int main() {
	test1();
	return 0;
}